package org.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.util.List;

/**
 * Created by Lenovo
 * DATA:2024/6/22
 **/
@AllArgsConstructor
@Data
@NoArgsConstructor
@EqualsAndHashCode//用于后期重复使用
public class Author {
    private Long id;
    private String name;
    private Integer age;

    private String intro;
    private List<Book> books;
}
